package com.meaningful.design_pattern.composite_pattern.expression;

public abstract class BinaryOperatorExpression implements Expression{

    Expression left, right;

    // 只有实现的子类可以调用构造函数
    protected BinaryOperatorExpression(Expression left, Expression right) {
        this.left = left;
        this.right = right;
    }

}
